package net.pws.oos.biz.query;

import java.util.List;

import net.pws.oos.biz.model.Attachment;
import net.pws.oos.biz.model.PhotoMarker;
import net.pws.oos.biz.query.parameter.AttachmentQueryParameter;

public interface AttachmentFinder {

    /**
     * 
     * @param queryParameter
     * @return
     */
    public List<Attachment> getAttachmentList(AttachmentQueryParameter queryParameter);
    
    /**
     * 查询图片
     * @param resourceId
     * @return
     */
    public List<Attachment> getPhotos(String resourceId);

    /**
     * 根据校验码和结果编码获得附件
     * @param checkCode
     * @param resourceId
     * @return
     */
    public Attachment getAttachment(String checkCode, String resourceId);
    
    /**
     * 查找图片的标记
     * @param photoId
     * @return
     */
    public List<PhotoMarker> getPhotoMarkers(String photoId);

}
